package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("health_alert")
public class HealthAlert {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long childId;
    private String type;    // vaccine-疫苗, checkup-体检, growth-生长评估, warning-警告
    private String message;
    private Date alertTime;
    private Integer status; // 0-未处理，1-已处理
    private Date createTime;
}